#ifndef KXLUA_KXLIB_H_
#define KXLUA_KXLIB_H_

#include "common/common.h"

#include "ikxlib.h"

#include "lua.h"

namespace kxlua {

class ILib;

class Kxlib : public IKxlib {
public:
    Kxlib(Lua& lua);
    virtual ~Kxlib();

private:
    void AddLib(ILib* lib);
    void RemoveLib(ILib* lib);

private:
    virtual ILib* GetLib(std::string lib);

private:
    Lua& lua_;
    Libs libs_;
};

}

#endif
